package com.example.distinguishcolors;

import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;

/**
 * @author Yingyong Lao
 * 创建时间 2021/10/2 14:46
 * @version 1.0
 */
public class LyyApplication extends Application {
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context=getApplicationContext();
    }

    public static Context getContext(){
        return context;
    }
}
